#import "FreedomFeastView.h"


@implementation FreedomFeastView



- (void)setSpiral:(FreedomFeastModel *)spiral {
	_spiral = spiral;

	//: 配置cell的UI

}
//: unwindInspire 的点击事件
- (void)action_1 {}

//: self.plumeBtn 的点击事件
- (void)action_2 {}

- (UITextView *)vividButterflyYarnTextView {
	if (!_vividButterflyYarnTextView) {
	
        _vividButterflyYarnTextView = [UITextView new];
        _vividButterflyYarnTextView.frame = CGRectMake(9, 50, 156, 147);
	}
	return _vividButterflyYarnTextView;
}

- (void)breezeSetupViews {

    //: 描述_0
    UITextView *vowBalloonFusion = [[UITextView alloc] init];
    self.oasisImaginationKingdomTextView = vowBalloonFusion;
    [self addSubview:vowBalloonFusion];
	[self.oasisImaginationKingdomTextView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(153);
		make.height.mas_equalTo(99);
		make.bottom.equalTo(@(10));
	}];


    //: 描述_1
    UIButton *unwindInspire = [[UIButton alloc] initWithFrame:CGRectZero];
    UIImage *hammerRipple = [UIImage imageNamed:@"images/icon_1.png"];
    if (hammerRipple) {
	    [unwindInspire setImage:hammerRipple forState:UIControlStateNormal];
    }
    [unwindInspire setTitle:@"button_1" forState:UIControlStateNormal];
    [unwindInspire setTitle:@"button_selected_1" forState:UIControlStateSelected];
    [unwindInspire setTitleColor:[UIColor colorWithRed:240/255.0 green:149/255.0 blue:108/255.0 alpha:0.5] forState:UIControlStateNormal];
    [unwindInspire setTitleColor:[UIColor colorWithRed:158/255.0 green:16/255.0 blue:186/255.0 alpha:0.7] forState:UIControlStateSelected];
    [unwindInspire addTarget:self action:@selector(action_1) forControlEvents:UIControlEventTouchUpInside];
    self.kiteBtn = unwindInspire;
    [self addSubview:unwindInspire];
	[self.kiteBtn mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(155);
		make.height.mas_equalTo(170);
		make.bottom.equalTo(@(30));
	}];


    //: 描述_2
    self.plumeBtn = [[UIButton alloc] init];
    self.plumeBtn.frame = CGRectMake(27, 38, 104, 83);
    UIImage *appleAmberInstinct = [UIImage imageNamed:@"images/icon_2.png"];
    if (appleAmberInstinct) {
	    [self.plumeBtn setImage:appleAmberInstinct forState:UIControlStateNormal];
    }
    [self.plumeBtn setTitle:@"button_2" forState:UIControlStateNormal];
    [self.plumeBtn setTitle:@"button_selected_2" forState:UIControlStateSelected];
    [self.plumeBtn setTitleColor:[UIColor colorWithRed:45/255.0 green:138/255.0 blue:123/255.0 alpha:0.8] forState:UIControlStateNormal];
    [self.plumeBtn setTitleColor:[UIColor colorWithRed:9/255.0 green:101/255.0 blue:222/255.0 alpha:0.9] forState:UIControlStateSelected];
    [self.plumeBtn addTarget:self action:@selector(action_2) forControlEvents:UIControlEventTouchUpInside];
    [self addSubview:self.plumeBtn];


    //: 描述_3
    self.xylophoneTextView = [UITextView new];
    self.xylophoneTextView.frame = CGRectMake(25, 12, 122, 109);
    [self addSubview:self.xylophoneTextView];

	//: 描述_4
	[self addSubview:self.vividButterflyYarnTextView];
}


@end